# -*- coding: utf-8 -*-
# @Time : 2021/2/7 15:57
# @Author : zhangcheng
# @Software: PyCharm

from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, VARCHAR, BigInteger


Base = declarative_base()


class User(Base):
    __tablename__ = "user"
    # 自增的id
    autoid = Column(BigInteger, primary_key=True)
    # 用户名
    name = Column(VARCHAR(255))
    # 密码
    password = Column(VARCHAR(255))





